package com.controller;

import com.client.HtMetaInfoSyncClient;
import com.meta.SyncType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @author 何永豪
 * @className ClientController
 * @description TODO
 * @date 2023/11/7 17:32
 */
@RestController
public class ClientController {

    @Resource
    private HtMetaInfoSyncClient htMetaInfoSyncClient;

    @GetMapping("/testClient")
    public void testClient(){
        htMetaInfoSyncClient.syncMeta("json", SyncType.ADD);
    }

}
